package com.ara.account.retrofit;


import com.ara.account.retrofit.api.AccountApi;
import com.ara.common.kernel.network.RetrofitHolder;

/**
 * Created by XieXin on 2021/5/18.
 * 账户Api持有人
 */
public class AccountApiHolder {
    private static AccountApi accountApi;

    /**
     * 账户API
     */
    public static AccountApi getAccountApi() {
        if (accountApi == null) accountApi = RetrofitHolder.getInstance().create(AccountApi.class);
        return accountApi;
    }

}
